"""
@file:   user
@author: FrankYi
@date:   2020/08/14
@desc:
"""
from .base import ma
from models.user import UserSouth

class UserSouthSchema(ma.Schema):
    class Meta:
        model = UserSouth
        fields = ('userid', 'username','useremail', 'password')


user_schema = UserSouthSchema()
users_schema = UserSouthSchema(many=True)